Class InfomapAlgorithm
java.lang.Object
edu.claflin.finder.algo.clustering.struct.infomap_struct.InfomapAlgorithm
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Graphprivate Nodeprivate int(package private) PrioritySet<HuffmanNode>private final int(package private) HuffmanCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleAvgBitLength(ArrayList<Node> nodePath) voidHuffmanEncoder(List<Node> nodeList, PrioritySet<HuffmanNode> ps) doublemapEquation(ArrayList<Double> q, ArrayList<Double> p, ArrayList<ArrayList<Double>> pProb, int nodeNum, int modNum) doubleMapEquationUndirected(ArrayList<Double> wy, ArrayList<Double> w, ArrayList<ArrayList<Double>> wi, int nodeNum, int modNum)
-
Field Details
-
graph
-
nodeCount
private int nodeCount -
traverseGraph
private final int traverseGraph -
node
-
neighbors
-
nodeList
-
communities
-
ps
-
tree
HuffmanCode tree
-
-
Constructor Details
-
InfomapAlgorithm
-
-
Method Details
-
AvgBitLength
-
HuffmanEncoder
-
mapEquation
-
MapEquationUndirected
-